package turtle.system.util;

import java.util.GregorianCalendar;

public class Action {
	public final static int IN_ACTION = 1;
	public final static int OUT_ACTION = 2;
	
	public final static int LONG_ACTION = 1;
	public final static int SHORT_ACTION = 2;	
	public final static int LONG_ACTION_KEEP_PREV_TRADE_OR_ADVANCED_IN = 3;
	public final static int SHORT_ACTION_KEEP_PREV_TRADE_OR_ADVANCED_IN = 4;
	
	public final static int TREND_REVERT_REASON = 1;
	public final static int STOP_LOSS_REASON = 2;
	public final static int STOP_PROFIT_REASON = 3;
	public final static int FORCE_STOP_LOSS_REASON = 4;
	public final static int FORCE_STOP_LOSS_AT_START_REASON = 5;
	public final static int FORCE_STOP_LOSS_TODAY_REASON = 6;	
	public final static int OUT_TRADE_INDAY_STRATEGY_REASON = 7;
	

	
	public final static int OUT_ACTION_AT_START = 1;
	public final static int OUT_ACTION_AT_END = 2;
	public final static int OUT_ACTION_AT_INSTANT = 3;
	
	public int inOrOut = -1;
	public int longOrShort = -1;
	public int reason = -1;
	public int outAtStartOrEnd = -1;
	public double price;

	public GregorianCalendar date;
}